﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCBaiDang.ascx.cs" Inherits="UserControl_UCBaiDang" %>
<%@ Register src="UCPhanTrang.ascx" tagname="UCPhanTrang" tagprefix="uc1" %>
<h5>
    <asp:Label ID="lbResults" runat="server" Text="Results" />
</h5>
<asp:DataList ID="dlAlbumList" runat="server">
    <ItemTemplate>
        <div class="AlbumList">
            <div class="Frames">
                    <img src='<%# DAL.Connect.Link.LayHinhAnh(Eval("NoiDung").ToString()) %>' alt='<%#HttpUtility.HtmlEncode(Eval("TenBaiDang").ToString()) %>' />
            </div>
            <div class="Description">
                <h4>
                    <a href='<%# DAL.Connect.Link.DenBaiDang(Eval("MaTheLoai").ToString(),Eval("MaBaiDang").ToString()) %>'>
                        <%#HttpUtility.HtmlEncode(Eval("TenBaiDang").ToString())%>
                    </a>
                </h4>
                <p>
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("MoTa") %>'></asp:Label>
                </p>
                <p>
                    <asp:Label ID="Label2" runat="server" Text='<%# Eval("NgayTao") %>' CssClass="DateCreated"></asp:Label>
                </p>
            </div>
        </div>
    </ItemTemplate>
</asp:DataList>
<div class="Pager">
    <uc1:UCPhanTrang ID="PagerBottom" runat="server" />
</div>